export interface TestRecordQuery {
  pageNum: number
  pageSize: number
  testTitle?: string
  status?: number
}

export interface TestRecordVO {
  id: number
  testId: number
  userId: number
  startTime: string
  endTime: string
  totalScore: number
  status: number
  answers: string
  test?: {
    title: string
  }
  user?: {
    name: string
  }
}

// 登录统计数据
export interface LoginStatsVO {
  totalUsers: number
  todayAppointments: number
  activeUsers: number
  userTrend: number
  appointmentTrend: number
  systemLoad: string
}

// 时间范围类型
export type TimeRange = 'week' | 'month' | 'year' | 'quarter'

// 预约趋势数据
export interface AppointmentTrendData {
  dates: string[]
  counts: number[]
}

// 地理分布数据
export interface GeoDistributionData {
  name: string
  value: {
    count: number
  }
}

// 设备分布数据
export interface DeviceDistributionData {
  name: string
  value: {
    count: number
  }
} 